package cn.edu.scau.cmi.huxiantao.abstractFactory.factory;

import cn.edu.scau.cmi.huxiantao.abstractFactory.domain.PingAnBodyInjury;
import cn.edu.scau.cmi.huxiantao.abstractFactory.domain.PingAnCarInjury;
import cn.edu.scau.cmi.huxiantao.abstractFactory.domain.PingAnManInjury;
import cn.edu.scau.cmi.huxiantao.abstractFactory.domain.PingAnMultInjury;
import cn.edu.scau.cmi.huxiantao.abstractFactory.domainAbstractClass.Insurance;

public class PingAnFactory extends AbstractFactory {
	@Override
	public Insurance getBodyInjury() {
		return new PingAnBodyInjury();
	}

	@Override
	public Insurance getCarInjury() {
		return new PingAnCarInjury();
	}

	@Override
	public Insurance getManInjury() {
		return new PingAnManInjury();
	}

	@Override
	public Insurance getMultInjury() {
		return new PingAnMultInjury();
	}
}
